package com.tanhua.db.api;

import com.tanhua.api.SoulAskApi;
import com.tanhua.db.mapper.SoulAskMapper;
import com.tanhua.model.soul.SoulAsk;
import org.apache.dubbo.config.annotation.DubboReference;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@DubboService
public class SoulAskApiImpl implements SoulAskApi {


    @Autowired
    private SoulAskMapper soulAskMapper;

    @Override
    public List<SoulAsk> getSoulAskList() {
        return soulAskMapper.selectList(null);
    }

}
